package com.myway.dto.vo;

import com.myway.pojo.FlyOrder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;


/**
 * Created by Administrator on 2018/8/5.
 * 订单业务实体
 */
@Getter
@Setter
@ToString
public class FlyOrderVo extends FlyOrder implements Serializable {

    private List<FlySegmentVo> segments;

    private List<FlyPassengeVo> passenges;

    public List<FlyPassengeVo> getPassenges() {
        return passenges;
    }

    public void setPassenges(List<FlyPassengeVo> passenges) {
        this.passenges = passenges;
    }

    public List<FlySegmentVo> getSegments() {
        return segments;
    }

    public void setSegments(List<FlySegmentVo> segments) {
        this.segments = segments;
    }

    public FlyOrderVo(List<FlySegmentVo> segments, List<FlyPassengeVo> passenges) {
        this.segments = segments;
        this.passenges = passenges;
    }

    /*public FlyOrder(String id, String orderId, String ticketType, String userId, String orderStatus, String contactName, String contactTel, String contactMoble, String contactEmail, String contactAddress, String currency, String pnrImport, String issurSmsSend, String cardRemark, String extraRemark, Date setDate, Date updateDate, String creator, Date timeLimit, String airlineCode, Double mailFee, String ip, String international, String source, Double onSaleValue, Integer quotaNo, String fullPoint, String cuponNo, Integer pointAmout, String couponType, Double totalPrice, String orderCurrenry, Double highPrice, List<FlySegmentVo> segments, List<FlyPassengeVo> passenges) {
        super(id, orderId, ticketType, userId, orderStatus, contactName, contactTel, contactMoble, contactEmail, contactAddress, currency, pnrImport, issurSmsSend, cardRemark, extraRemark, setDate, updateDate, creator, timeLimit, airlineCode, mailFee, ip, international, source, onSaleValue, quotaNo, fullPoint, cuponNo, pointAmout, couponType, totalPrice, orderCurrenry, highPrice);
        this.segments = segments;
        this.passenges = passenges;
    }*/
    public  FlyOrderVo(){}
}
